package com.cssw.fyzb.core.model.dodb;

import com.cssw.fyzb.core.model.dodb.base.BaseRuleInst;

/**
 *
 */
@SuppressWarnings("serial")
public class RuleInst extends BaseRuleInst<RuleInst> {
    public static final RuleInst dao = new RuleInst().dao();
    //赠送的任务标识 （初心）
    public static final String GIVE_TASK = "1";
    //完成
    public static final String STATUS_TO_COMPLETE = "2";
    //进行中
    public static final String STATUS_ONGOING = "1";

    //任务名称
    public String getTaskName() {
        return getStr("task_name");
    }

    //苹果数
    public String getPrice() {
        return getStr("price");
    }

    //任务图标
    public String getImg() {
        return getStr("img");
    }

    //任务时长
    public String getTaskTime() {
        return getStr("task_time");
    }

    //任务总时长
    public String getTotalTiem() {
        return getStr("total_tiem");
    }

    //有效天数
    public String getProduceDay() {
        return get("produce_day");
    }


}
